﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MP/Admin.master" AutoEventWireup="true" CodeFile="Group.aspx.cs" Inherits="Admin_User_Group" Theme="Admin"%>

<asp:Content ID="Content1" ContentPlaceHolderID="h" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentHolder" Runat="Server">
<div id="content-box">
        <div class="border">
            <div class="padding">
                <div id="toolbar-box">
                    <div class="t">
                        <div class="t">
                            <div class="t">
                            </div>
                        </div>
                    </div>
                    <div class="m">
                        <div class="toolbar" id="toolbar">
                            <table class="toolbar" summary="">
                                <tr>
                                    <td class="button" id="toolbar-new">
                                        <asp:LinkButton runat="server" ID="lnkAdd" CssClass="toolbar" OnClick="lnkAdd_Click">
                                            <span class="icon-32-new" title="Add"></span>
                                            <asp:Label runat="server" ID="lblAdd" meta:resourcekey="lblAdd" />
                                        </asp:LinkButton></td><td class="button" id="toolbar-delete">
                                        <asp:LinkButton runat="server" ID="lnkDelete" CssClass="toolbar" OnClick="lnkDelete_Click">
                                            <span class="icon-32-delete" title="Delete"></span>
                                            <asp:Label runat="server" ID="lblDelete" meta:resourcekey="lblDelete" />
                                        </asp:LinkButton></td></tr></table></div><div class="header icon-48-user">
                            <asp:Literal runat="server" ID="lblUserManager" meta:resourcekey="lblUserManager" />
                            <div class="clr">
                            </div>
                        </div>
                    </div>
                    <div class="b">
                        <div class="b">
                            <div class="b">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clr">
                </div>
                <div id="element-box">
                    <div class="t">
                        <div class="t">
                            <div class="t">
                            </div>
                        </div>
                    </div>
                    <div class="m">
                       <asp:GridView ID="gv" runat="server" DataKeyNames="GroupId" BorderStyle="Solid" BorderWidth="1"
                            CssClass="adminlist" GridLines="None" DataSourceID="ods" 
                            AutoGenerateColumns="false" AllowPaging="True" EnableModelValidation="True">
                            <HeaderStyle CssClass="title" />
                            <RowStyle CssClass="row0" BorderStyle="None" HorizontalAlign="Left"/>
                            <PagerStyle HorizontalAlign="Center" />
                            
                            <Columns>
                                <asp:BoundField HeaderText="GroupName" DataField="GroupName" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" />
                                <asp:BoundField HeaderText="CreatedDate" DataField="CreatedDate"/>
                            </Columns>
                        </asp:GridView>
                        <asp:ObjectDataSource ID="ods" runat="server" SelectMethod="Select" TypeName="CVTH.Helper.GroupHelper"
                            EnablePaging="True" SelectCountMethod="countgroup">
                        </asp:ObjectDataSource>
                        <div class="clr">
                        </div>
                    </div>
                    <div class="b">
                        <div class="b">
                            <div class="b">
                            </div>
                        </div>
                    </div>
                </div>
                <noscript>
                    Warning! JavaScript must be enabled for proper operation of the Administrator back-end.</noscript>
                <div class="clr">
                </div>
                <div class="clr">
                </div>
            </div>
        </div>
    </div>
</asp:Content>

